package cn.virens.database.mysql.mapper.sys;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.virens.database.mysql.model.sys.SysUser;
import tk.mybatis.mapper.common.Mapper;

public interface SysUserMapper extends Mapper<SysUser> {
	String login(@Param("account") String account);

	int saveUserRole(@Param("account") String account, @Param("roleID") Integer roleID);

	SysUser getUser(@Param("account") String account);

	List<SysUser> getAll(@Param("account") String account, @Param("name") String name);

}